
import { App } from 'vue'

import permission from './permission';

/**
 * 全局指令注册
 * @param app vue实例化对象
 */
export function registerDirective(app: App) {
    app.directive(permission.name,permission.directive)
}
